package com.demo.bookstore.service;

import com.demo.bookstore.bean.BookOrder;
import com.demo.bookstore.bean.Cart;
import com.demo.bookstore.bean.User;

import java.util.List;

/**
 * @author ddone
 * @date 2024/3/17-10:18
 */
public interface OrderService {
    String addOrder(Cart cart, User user);

    List<BookOrder> findOrderByUserId(int userId);

}
